package com.cmbchina.creditcard.application.api;

import com.cmbchina.creditcard.application.api.dto.CreditCardDTO;

import java.math.BigDecimal;
import java.util.List;

public interface CreditCardManage {

    String createCard(String type);
    Boolean consume(String id, BigDecimal amount);
    Boolean repay(String id, BigDecimal amont);
    List<CreditCardDTO> queryCreditCardList();
}
